package com.tre.jdevtemplateboot.exception.business;

import com.tre.jdevtemplateboot.exception.global.SysBusinessException;
import com.tre.jdevtemplateboot.common.enums.ExceptionHandlerEnums;

public class SysParamValidatorException extends SysBusinessException {

    public SysParamValidatorException() {
        super(ExceptionHandlerEnums.PARAM_VALIDATE_ERROR.getMsg(),
                ExceptionHandlerEnums.PARAM_VALIDATE_ERROR.getStatus()
                ,ExceptionHandlerEnums.PARAM_VALIDATE_ERROR.getCode());
    }
    public SysParamValidatorException(String message) {
        super(message,
                ExceptionHandlerEnums.PARAM_VALIDATE_ERROR.getStatus()
                ,ExceptionHandlerEnums.PARAM_VALIDATE_ERROR.getCode());
    }

}
